package com.luo.chengrui.module.sa.convert.role;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import com.luo.chengrui.module.sa.dal.dataobject.role.RoleFolderUserViewDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.luo.chengrui.module.sa.controller.admin.role.vo.*;
import com.luo.chengrui.module.sa.dal.dataobject.role.RoleFolderUserDO;

/**
 * 角色分类人员配置表 Convert
 *
 * @author 诚睿
 */
@Mapper
public interface RoleFolderUserConvert {

    RoleFolderUserConvert INSTANCE = Mappers.getMapper(RoleFolderUserConvert.class);

    RoleFolderUserDO convert(RoleFolderUserCreateReqVO bean);

    RoleFolderUserDO convert(RoleFolderUserUpdateReqVO bean);

    RoleFolderUserRespVO convert(RoleFolderUserDO bean);

    RoleFolderUserRespVO convert(RoleFolderUserViewDO bean);

    List<RoleFolderUserRespVO> convertList(List<RoleFolderUserDO> list);

    PageResult<RoleFolderUserRespVO> convertPage(PageResult<RoleFolderUserDO> page);

    PageResult<RoleFolderUserRespVO> convertPageCustomize(PageResult<RoleFolderUserViewDO> page);

    List<RoleFolderUserExcelVO> convertList02(List<RoleFolderUserDO> list);

}
